package com.youlai.eng.query;


import com.youlai.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Schema(description ="组织分页查询对象")
@Data
public class BaseQuery extends BasePageQuery {

    @Schema(description="关键字(组织名称)")
    private String keywords;

    @Schema(description="关键字(名称)")
    private String name;

    @Schema(description="关键字(名称)")
    private String code;

    @Schema(description="更新时间-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startUpdateTime;

    @Schema(description="更新时间-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endUpdateTime;

    @Schema(description ="是否计划员")
    private Integer isPlanner=0;

    @Schema(description ="是否采购员")
    private Integer isBuyer=0;

    @Schema(description ="是否销售员")
    private Integer isSalesman;

    private String customerName;
}
